package com.changgou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @auther LiZiBa
 * @date 2020/10/14 22:09
 * @description: 文件微服务启动类
 **/

/**
 * 不忽略数据库默认启动则加载报错 Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableEurekaClient
public class FileApplication {

    public static void main(String[] args) {
        SpringApplication.run(FileApplication.class, args);
    }
}
